Covering and Uncovering Equivalent Mutants
نویسندگان
چکیده
Mutation testing measures the adequacy of a test suite by seeding artificial defects (mutations) into a program. If a test suite fails to detect a mutation, it may also fail to detect real defects—and hence should be improved. However, there are also mutations that keep the program semantics unchanged and thus cannot be detected by any test suite. Such equivalent mutants must be weeded out manually, which is a tedious task. In this paper, we examine whether changes in coverage can be used to detect non-equivalent mutants: If a mutant changes the coverage of a run, it is more likely to be non-equivalent. In a sample of 140 manually classified mutations of seven Java programs with 5000 to 100 000 lines of code, we found that (i) the problem is serious and widespread—about 45% of all undetected mutants turned out to be equivalent; (ii) manual classification takes time—about 15 min per mutation; (iii) coverage is a simple, efficient and effective means to identify equivalent mutants—with a classification precision of 75% and a recall of 56%; and (iv) coverage as an equivalence detector is superior to the state of the art, in particular violations of dynamic invariants. Our detectors have been released as part of the open-source JAVALANCHE framework; the data set is publicly available for replication and extension of experiments. Copyright © 2012 John Wiley & Sons, Ltd.
منابع مشابه
A family of near-optimal cyclic uncoverings
We give a proof of a general construction of a (2m,3,m−1)-uncovering, which is equivalent to a (2m,2m−3,m−1)-covering design. Furthermore, we calculate the Schönheim Bound explictly for these parameters, and show that our construction gives uncoverings within a constant factor of this bound. We also give an induced construction for (2m−1,4,m−2)-uncovering. 1 Coverings and uncoverings Covering d...
متن کاملA multiobjective continuous covering location model
This paper presents a multiobjective continuous covering location problem in fuzzy environment. Because of uncertain covering radius, possibility of covering concept is introduced.Since, the uncertainty may cause risk of uncovering customers; the problemis formulated as a risk management model. The presented model is an extension of the discrete covering location models tocontinuous space. Two ...
متن کاملStudy of Organic Solvent Tolerance and Increased Antibiotic Resistance Properties in E. coli gyrA Mutants
Ciprofloxacin is one of the most widely used antibiotics for the treatment of several infections caused by Gram-negative bacteria, like E. coli. Changes in gyrA, encoding GyrA subunit of DNA gyrase, cause the resistance to ciprofloxacin. Some ciprofloxacin resistant gyrA mutants acquired constitutive expression of marRAB operon due to the gaining mutations in marR, a repressor of this operon...
متن کاملStudy the Expression of marA Gene in Ciprofloxacin and Tetracycline Resistant Mutants of Esherichia coli
MarA activates two membrane dependent mechanisms of resistance to different antibiotics, such as ciprofloxacin and tetracycline, including promotion of outflux and inhibition of influx of antibiotics. Thus, MarA causes multiple antibiotic resistance phenotype. The activation of these mechanisms needs overexpression of marA. This could happen through mutation in marR. Thus, the aim of this study...
متن کاملBiocontrol Activities of Gamma Induced Mutants of Trichoderma harzianum against some Soilborne Fungal Pathogens and their DNA Fingerprinting
Background: Random induced mutation by gamma radiation is one of the genetic manipulation strategies to improve the antagonistic ability of biocontrol agents. Objectives: This study aimed to induce mutants with more sporulation, colonization rate leading to enhanced antagonistic ability (in vitro assay) comparing to wild type (WT) and the assessment of genetic differences (in situ evaluat...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Softw. Test., Verif. Reliab.
دوره 23 شماره
صفحات -
تاریخ انتشار 2013